package com.ruoyi.userManage.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 盲盒消费记录对象 t_user_blind_box_consume_record
 *
 * @author ruoyi
 * @date 2025-08-12
 */
@Data
public class UserBlindBoxConsumeRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 记录ID
     */
    private Long id;

    /**
     * 用户手机号
     */

    private Long userId;
    @Excel(name = "用户手机号")
    private String userPhone;

    private Long sixUserId;

    /**
     * 玩法
     */

    private Integer playTypeId;

    @Excel(name = "玩法")
    private String playTypeName;

    /**
     * 分类
     */

    private Integer classId;
    @Excel(name = "分类")
    private String className;

    /**
     * 盲盒
     */
    private Long blindBoxId;

    /**
     * 盲盒名
     */
    @Excel(name = "盲盒名")
    private String blindBoxName;

    /**
     * 支付方式
     */
    @Excel(name = "支付方式",readConverterExp = "BALANCE=余额,WX=微信",dictType = "pay_type")
    private String payType;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 购买数量
     */
    @Excel(name = "购买数量")
    private Integer buyCount;

    /**
     * 总支付金额
     */
    @Excel(name = "总支付金额")
    private BigDecimal totalPayPrice;

    /**
     * 逻辑删除（0=未删除，1=已删除）
     */
    private Integer isDelete;


}
